require "/Base/BTReq"
require "Test/TestBehaviorTree"
require "Test/TestBehaviorTree2"
require "Test/TestBehaviorTree3"
require ("Test/TestBehaviorTree4")
require ("Test/TestBehaviorTree5")
require ("Test/TestBehaviorTree6")
require("Test/BehaviorTreeModel")


local fileName=io.read()

--local fileName="tree.json"
--local btree = BehaviorTreeModel:New(fileName)
--local btree=TestBehaviorTree5:New()
local btree=TestBehaviorTree6:New()
BTBehaviorManager.AddTree(btree)
BTBehaviorManager.RunTree()
BTBehaviorManager.PrintTree(btree)